﻿#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>

int main() {
    unsigned int x, y, z;
    //数据范围 0~100000；32位的无符号整型就够了
    scanf("%d %d %d", &x, &y, &z);
    //海伦公式：面积= sqrt(s(s−a)(s−b)(s−c))
    //s = 半周长
    unsigned int cir = x + y + z;
    //注意：sqrt需要传入double类型，不然会报警告
    double c = cir / 2.0;
    double area = sqrt(c * (c - x) * (c - y) * (c - z));
    printf("circumference=%.2f area=%.2f", (double)cir, area);
    return 0;
}
